---
hide_title: true
title: 'HistoryExtension'
---

# `HistoryExtension`

## Summary

This extension provides undo and redo commands and inserts a plugin which handles history related actions.

## Usage

### Installation

This extension is installed for you when you install the main `remirror` package.

You can use the imports in the following way:

```ts
import { HistoryExtension } from 'remirror/extensions';
```

The extension is provided by the `@remirror/extension-history` package.

## API

- [HistoryExtension](../api/extension-history)
